simple Example for Gentic Algorithm